package fpt.edu.vn.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/* 
 * Activityhistorys.java 
 *  
 * 0.1
 * 
 * 10/15/2012 
 *  
 * Copyright notice 
 *  
 * Modification Logs: 
 *   DATE        AUTHOR      DESCRIPTION 
 *  -------------------------------------------------------- 
 *  15-Oct-2012  ThuongND    Create new 
 */
@Entity
@Table(name = "fsh_activityhistory")
public class Activityhistorys implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int activityHistoryId;

	private String ipAddress;

	private String userName;
	
	private String title;

	private Integer topicId;
	
	private Integer districtId;

	private int activityTypeId;

	private Date createDate;

	@Id
	@GeneratedValue
	@Column(name = "ActivityHistoryId")
	public int getActivityHistoryId() {
		return activityHistoryId;
	}

	public void setActivityHistoryId(int activityHistoryId) {
		this.activityHistoryId = activityHistoryId;
	}

	@Column(name = "IpAddress")
	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	@Column(name = "UsersName")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "TopicId")
	public Integer getTopicId() {
		return topicId;
	}

	public void setTopicId(Integer topicId) {
		this.topicId = topicId;
	}

	@Column(name = "ActivityTypeId")
	public int getActivityTypeId() {
		return activityTypeId;
	}

	public void setActivityTypeId(int activityTypeId) {
		this.activityTypeId = activityTypeId;
	}

	@Column(name = "CreateDate")
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	@Column(name = "Title")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	@Column(name = "DistrictId")
	public Integer getDistrictId() {
		return districtId;
	}

	public void setDistrictId(Integer districtId) {
		this.districtId = districtId;
	}
	

}
